package org.jeecg.modules.product.contractor.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.v3.oas.annotations.media.Schema;
import org.jeecg.common.aspect.annotation.Dict;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;

import java.io.UnsupportedEncodingException;

/**
 * @Description: 承包商教育培训已培训人员
 * @Author: jeecg-boot
 * @Date:   2024-07-08
 * @Version: V1.0
 */
@Data
@TableName("tb_contractor_education_training_trained_personnel")
@Schema(description="承包商教育培训已培训人员")
public class TbContractorEducationTrainingTrainedPersonnel implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private String id;
	/**创建人*/
    @Schema(description = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private Date createTime;
	/**更新人*/
    @Schema(description = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @Schema(description = "所属部门")
    private String sysOrgCode;
	/**姓名*/
	@Excel(name = "姓名", width = 15)
    @Schema(description = "姓名")
    private String contractorPersonnelId;
	/**身份证号*/
	@Excel(name = "身份证号", width = 15)
    @Schema(description = "身份证号")
    private String idCard;
	/**年龄*/
	@Excel(name = "年龄", width = 15)
    @Schema(description = "年龄")
    private Integer age;
	/**成绩*/
	@Excel(name = "成绩", width = 15)
    @Schema(description = "成绩")
    private Double grade;
	/**是否合格*/
	@Excel(name = "是否合格", width = 15)
    @Dict(dicCode = "yn")
    @Schema(description = "是否合格")
    private String isStandard;
	/**证书编号*/
	@Excel(name = "证书编号", width = 15)
    @Schema(description = "证书编号")
    private String number;
	/**作业有效期限*/
	@Excel(name = "作业有效期限", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @Schema(description = "作业有效期限")
    private Date validityPeriod;
	/**承包商教育培训id*/
    @Schema(description = "承包商教育培训id")
    private String contractorEducationTrainingId;
}
